package org.example.thread.testReturn.way1;

import com.alibaba.fastjson.JSON;

/**
 * @author liyishan
 * @date 2023/8/3 13:08
 * @apiNote
 */

public class TaskHandler implements TaskCallable<TaskResult> {

    @Override
    public TaskResult callable(TaskResult taskResult){
        System.out.println(JSON.toJSON(taskResult));
        return taskResult;
    }
}
